﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.Tracking.Models
{
	[Serializable]
	[DataContract]
	public class Track
	{
		public Track()
		{
			EventList = new List<TrackEvent>();
		}
		[DataMember]
		public int Id { get; set; }
		// public int Id { get; set; }
		[DataMember]
		public string SourceUrl { get; set; }
		[DataMember]
		public string Location { get; set; }
		[DataMember]
		public DateTime CreationDate { get; set; }
		// public string LogGUID { get; set; }
		// public DateTime TransactionCreationDate { get; set; }
		[DataMember]
		public string SourceId { get; set; }
		[DataMember]
		public List<TrackEvent> EventList { get; set; }
		[DataMember]
		public string Keywords { get; set; }
		[DataMember]
		public int? ProductId { get; set; }
		[DataMember]
		public int? UserId { get; set; }
		[DataMember]
		public int PageCount { get; set; }
		[DataMember]
		public DateTime LastVisitDate { get; set; }
	}
}
